enum dtype_action_define {
	TYPE(ACTION_DEFINE)=0x3220,
};
enum subtype_action_define {
	SUBTYPE(ACTION_DEFINE,GOODS_FIND)=0x1,
	SUBTYPE(ACTION_DEFINE,ORDER_CONFIRM),
	SUBTYPE(ACTION_DEFINE,EVALUATE),
	SUBTYPE(ACTION_DEFINE,ORDER_QUERY)
};

typedef struct action_define_goods_find{
	char * goods_id;
}__attribute__((packed)) RECORD(ACTION_DEFINE,GOODS_FIND);

typedef struct action_define_order_confirm{
	char * order_id;
	enum enum_order_state state;
}__attribute__((packed)) RECORD(ACTION_DEFINE,ORDER_CONFIRM);

typedef struct action_define_evaluate{
	char * order_id;
    int  score;
    char * evaluate;
}__attribute__((packed)) RECORD(ACTION_DEFINE,EVALUATE);

typedef struct action_define_order_query{
	char * order_id;
    char * guest_name;
    char * goods_id;
}__attribute__((packed)) RECORD(ACTION_DEFINE,ORDER_QUERY);
